package com.lyt.mall.seckill.service;

import com.lyt.mall.seckill.dto.SeckillSkuRedisDTO;
import org.hibernate.validator.constraints.time.DurationMin;

import java.util.List;

/**
 * @author: LiuYutong
 */
public interface SeckillService {
    void uploadSeckillSku3Days();

    List<SeckillSkuRedisDTO> getCurrentSeckillSkus();

    SeckillSkuRedisDTO getSeckillSessionBySkuId(Long skuId);

    String kill(String killId, String code, Integer num);
}
